package controllers;

import java.io.File;

import model.CaseGoods;

import com.et.mvc.JsonView;
import com.et.mvc.MultipartFile;

public class UploadController extends ApplicationController{
    public JsonView doSave(MultipartFile file,CaseGoods caseGoods) throws Exception{
        file.transferTo(new File("D:/项目工程/涉案财务系统/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/sacwxt/swfupload/files/" + file.getOriginalFilename()));
        String goods_num = request.getParameter("goods_num");
        goods_num = caseGoods.getGoods_num();
        System.out.println(file.getOriginalFilename()+":"+file.getSize()+":"+goods_num);
        return null;
    }
}
